home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-28 | 510 b | 31 lines | [TEXT/ttxt] |
- class TextSprite (Sprite, TextPresenter)
- end
-
- method matteColorSetter self {class TextSprite} newColor ->
- (
- self.invisibleColor := newColor
- )
-
- method matteColorGetter self {class TextSprite} ->
- (
- self.invisibleColor
- )
-
- method invisibleColorSetter self {class TextSprite} newColor ->
- (
- if newColor = undefined then
- self.fill := whiteBrush
- else
- self.fill := undefined
-
- newColor
- )
-
- method invisibleColorGetter self {class TextSprite} ->
- (
- if self.fill = undefined then
- whiteBrush
- else
- undefined
- )
-